﻿CREATE proc NKNH_NHID
as
select  top 1 NHID as NHID from NKNH_H order by NHID desc